<template lang="">
    <div>
        {{parentMsg}}---{{sonFromParent}}
    </div>
</template>
<script>
export default {
    props:["parentMsg"],
    data() {
        return {
            sonFromParent:this.parentMsg,
        };
    }
};
</script>
<style lang="">
    
</style>